﻿Imports System.Runtime.Serialization

Namespace google.iap

    <DataContract()>
    Public Class RequestObject

        <DataMember(isRequired:=True)>
        Public Overridable Property name As String

        <DataMember(isRequired:=False, EmitDefaultValue:=False)>
        Public Overridable Property description As String

        <DataMember(isRequired:=False, EmitDefaultValue:=False)>
        Public Overridable Property price As String

        <DataMember(isRequired:=False, EmitDefaultValue:=False)>
        Public Overridable Property currencyCode As String

        <DataMember(isRequired:=False, EmitDefaultValue:=False)>
        Public Overridable Property sellerData As String

        <DataMember(isRequired:=False, EmitDefaultValue:=False)>
        Public Overridable Property initialPayment As InAppSubscriptionInitialPaymentObject

        <DataMember(isRequired:=False, EmitDefaultValue:=False)>
        Public Overridable Property recurrence As InAppSubscriptionRecurrenceObject

        Public Sub New()

        End Sub

        Public Enum SupportedCurrencies
            USD
            EUR
            CAD
            GBP
            AUD
            HKD
            JPY
            DKK
            NOK
            SEK
        End Enum

    End Class


End Namespace
